package com.xwli.springcloud.dao;

import com.xwli.springcloud.projo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xwli
 * @date: 2021/9/6 20:42
 * @desc
 * @since JDK 1.8
 */
@Mapper
@Repository
public interface DeptDao {

    public boolean addDept(Dept dept);

    public Dept getDeptByDeptNo(Long deptNo);

    public List<Dept> getDeptAll();
}
